package com.linglingC.service;

import com.linglingC.pojo.PageBean;
import com.linglingC.pojo.Resident;
import com.linglingC.pojo.ResidentNameId;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ResidentService {
    PageBean findAll(Integer page,Integer pageSize);

    PageBean select(String key, String value, Integer page, Integer pageSize);

    void addResident(Resident resident);

    void deleteOneResident(Integer id);

    void editResident(Resident resident);

    List<ResidentNameId> selectNameID();
}
